package com.platform.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 用户捐款记录表实体
 * 表名 nideshop_donation_record
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-11-01 11:32:00
 */
public class DonationRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Integer id;
    //用户id
    private Integer userId;
    //用户昵称
    private String userNickname;
    //公益活动id
    private Integer commonwealId;
    //公益活动名称
    private String commonwealName;
    //捐赠金额
    private BigDecimal donorAmount;
    //捐赠者姓名
    private String donorName;
    //是否匿名：1-是；0-否
    private Integer isAnonymous;
    //添加时间
    private Date addTime;
    //是否已支付：1-是；0-否
    private Integer isPay;
    //商户订单号
    private String outTradeNo;
    //微信支付订单号
    private String transactionId;
    //预支付交易会话标识
    private String prepayId;

    public String getPrepayId() {
        return prepayId;
    }

    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }

    public Integer getIsPay() {
        return isPay;
    }

    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取：用户id
     */
    public Integer getUserId() {
        return userId;
    }
    /**
     * 设置：用户昵称
     */
    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    /**
     * 获取：用户昵称
     */
    public String getUserNickname() {
        return userNickname;
    }
    /**
     * 设置：公益活动id
     */
    public void setCommonwealId(Integer commonwealId) {
        this.commonwealId = commonwealId;
    }

    /**
     * 获取：公益活动id
     */
    public Integer getCommonwealId() {
        return commonwealId;
    }
    /**
     * 设置：公益活动名称
     */
    public void setCommonwealName(String commonwealName) {
        this.commonwealName = commonwealName;
    }

    /**
     * 获取：公益活动名称
     */
    public String getCommonwealName() {
        return commonwealName;
    }
    /**
     * 设置：捐赠金额
     */
    public void setDonorAmount(BigDecimal donorAmount) {
        this.donorAmount = donorAmount;
    }

    /**
     * 获取：捐赠金额
     */
    public BigDecimal getDonorAmount() {
        return donorAmount;
    }
    /**
     * 设置：捐赠者姓名
     */
    public void setDonorName(String donorName) {
        this.donorName = donorName;
    }

    /**
     * 获取：捐赠者姓名
     */
    public String getDonorName() {
        return donorName;
    }
    /**
     * 设置：是否匿名：1-是；0-否
     */
    public void setIsAnonymous(Integer isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    /**
     * 获取：是否匿名：1-是；0-否
     */
    public Integer getIsAnonymous() {
        return isAnonymous;
    }
    /**
     * 设置：添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取：添加时间
     */
    public Date getAddTime() {
        return addTime;
    }
}
